package com.office.service.impl;

import com.office.bean.Emp;
import com.office.mapper.UserMangerMapper;
import com.office.service.UserMange;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class UserMangerimpl implements UserMange {
    @Autowired
    UserMangerMapper userManger;

    @Override
    public int updateuser(int id, String newpass) {
        return userManger.updateuser(id,newpass);
    }

    @Override
    public int updatphoto(Emp oldemp) {
        return userManger.updatphoto(oldemp);
    }
}
